package top.laoshuzi.designpatterns.base.created.abstract_factory.kotlin

/**
 * 产品2
 */
class Product2 : Product {

    private var name: String? = null

    override fun getName(): String? = name

    override fun setName(name: String) {
        this.name = name
    }

}